package com.lnt.prototype;

/**
 * @title : 具体原型类
 * @createDate : 2021-11-04 10:12
 * @creater : LuNanTing
 * @className : Realizetype
 */
public class Realizetype implements Cloneable{

    public Realizetype (){
        System.out.println("具体原型类创建成功");
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        System.out.println("具体原型类复制成功");
        return (Realizetype)super.clone();
    }
}
